package com.example.demo.user.rpc;

import com.example.demo.response.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: miaoguoxin
 * @Date: 2020/3/18 15:28
 * @Description:
 */

@FeignClient(value = "micro-order",fallback = OrderFeignFallback.class)
public interface OrderFeignRpc {

    @RequestMapping("/order/test")
    ApiResult<String> testRpc();
}
